<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
    <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
</head>

<body style="color:#333;padding:3px;overflow-x: auto;">
<!-- 标题 -->
<div class="page-heade">
    <h1 class="title_color">广州销路通软件有限公司-收货签收单</h1>
</div>
<!-- 标题 -->

<div>
    <form action="" class="form-inline" method="get">
        <div class="padding-10">
            <a href="javascript:;" class="btn btn-info">导出Excel</a>
        </div>
        <div class="">
            <div class="form-group">
                客户编号：<span>{$data.khbh}</span><span class="lr_5">
            </div>
            <div class="form-group text-left lr_5" style="float: right;">
                发货日期：<span>{$data.fhrq}</span>
            </div>
        </div>
        <div class="padding-10">
            <div class="form-group">
                客户名称：<span>{$data.khmc}</span>；送货地址：<span class="gystext">{$data.shdz}</span>；联系人：<span>{$data.lxr}</span>；电话：<span>{$data.dh}</span>
            </div>
        </div>
        <table class="row-margin-top tab-content table-bordered table text-right" border="1">
            <tr class="info">
                <th rowspan="2" class="text-center">仓库名称</th>
                <th rowspan="2" class="text-center">产品名称</th>
                <th rowspan="2" class="text-center">规格</th>
                <th rowspan="2" class="text-center">单位</th>
                <th rowspan="2" class="text-center">出库数量</th>
                <th colspan="2" class="text-center">发货数量</th>
                <th colspan="2" class="text-center">实收数量</th>
                <th rowspan="2" class="text-center">箱价</th>
                <th rowspan="2" class="text-center">金额</th>
                <th rowspan="2" class="text-center">体积(立方米)</th>
                <th rowspan="2" class="text-center">重量(吨)</th>
                <th rowspan="2" class="text-center">备注</th>
            </tr>
            <tr class="info">
                <th class="text-center">销售</th>
                <th class="text-center">搭赠</th>
                <th class="text-center">销售</th>
                <th class="text-center">搭赠</th>
            </tr>
            {volist name="data.list" id="row"}
            <tr>
                <td class="text-left">{$data.dyck}</td>
                <td class="text-left">{$row.pro_name}</td>
                <td class="text-left"></td>
                <td>{$row.unit}</td>
                <td class="text-right"><span>{$row.cksl}</span>.0000</td>
                <td class="text-right"><span>{$row.xssl_fh}</span>.0000</td>
                <td class="text-right"><span>{$row.dzsl_fh}</span>.0000</td>
                <td class="text-right"><span>{$row.xssl_ss}</span>.0000</td>
                <td class="text-right"><span>{$row.dzsl_ss}</span>.0000</td>
                <td><span class="ObjectNum">{$row.xj}</span>00</td>
                <td><span class="ObjectNum">{$row.je}</span>00</td>
                <td><span>{$row.tj}</span>.0000</td>
                <td><span>{$row.zl}</span>.00000000</td>
                <td>{$row.bz}</td>
            </tr>
            {/volist}
            <tr class="font-bold" id="trAll">
                <td colspan="3" class="text-center">总计:</td>
                <td></td>
                <td class="text-right"><span>{$data.ckslhj}</span>.0000</td>
                <td class="text-right"><span>{$data.xsslhj}</span>.0000</td>
                <td class="text-right"><span>{$data.dzslhj}</span>.0000</td>
                <td class="text-right"><span>{$data.xsslhj2}</span>.0000</td>
                <td class="text-right"><span>{$data.dzslhj2}</span>.0000</td>
                <td><span class="ObjectNum"></span></td>
                <td><span class="ObjectNum">{$data.zje}</span>00</td>
                <td><span>{$data.ztj}</span>.0000</td>
                <td><span>{$data.zzl}</span>.00000000</td>
                <td></td>
            </tr>
            <tr>
                <td colspan="2" class="text-left">物流公司：<span>{$data.wlgs_mc}</span></td>
                <td colspan="12" rowspan="2" class="text-left">物流签名：</td>
            </tr>
            <tr>
                <td colspan="2" class="text-left">物流公司电话：<span>{$data.wlgsdh}</span></td>
            </tr>
            <tr>
                <td colspan="2" class="text-left">客户满意度：<span class="gou">{if $data.estimate==1}√{else}□{/if}</span>良好 <span class="checkdiv">{if $data.estimate==2}√{else}□{/if}</span>一般
                    <span class="checkdiv">{if $data.estimate==3}√{else}□{/if}</span>差
                </td>
                <td colspan="12" class="text-left">收货人：<span>{$data.shr_mc}</span></td>
            </tr>
            <tr>
                <td class="text-left">备注：<span></span></td>
                <td colspan="13" class="text-left">{$data.bz}</td>
            </tr>
            <tr>
                <td rowspan="2" colspan="2" class="text-left">
                    提示：收货后请贵单位及时验收，如有问题，请马上与我司联系。
                </td>
                <td colspan="12" class="text-center">
                    签收单一式两联，客户收到货物无误后，请盖章签字并保留一份做留底，以便回传我司，另一份交给物流公司。多谢合作！
                </td>
            </tr>
            <tr>
                <td colspan="12">
                    <p class="text-left">盖章：</p>
                    <p class="text-center">收货日期：<span>{$data.shrq}</span></p>
                </td>
            </tr>
        </table>
        <div class="">
            <div class="form-group">
                制单人：<span>{$data.zdr_mc}</span>
            </div>
            <div class="form-group" style="float: right;">
                物流公司：<span>{$data.wlgs_mc}</span>；联系人：<span>{$data.lxr}</span>；联系电话：<span>{$data.wlgsdh}</span>；物流单号：<span>{$data.wldh}</span><span
                    class="lr_5"></span><span class="lr_5"></span>
            </div>
        </div>
    </form>
</div>
<!-- 全局js -->
<script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
<script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
<!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
<script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
<script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
<script src="__STATIC__/layout/js/common.js"></script>
<script>
    laydate({
        elem: "#shipmentsDate",
        event: "focus"
    })
    laydate({
        elem: "#yg_dhDate",
        event: "focus"
    })

    $(document).ready(function () {
        var $ObjectNum = $(".ObjectNum");
        toNum($ObjectNum);
        var $gysText = $(".gystext");
        var num = 13;
        $gysText.each(function () {
            wordlimit($(this), num)
        })

    })

    function wordlimit(cname, num) {
        for (var i = 0; i < cname.length; i++) {
            var nowLength = cname[i].innerHTML.length;
            if (nowLength > num) {
                return cname[i].innerHTML = cname[i].innerHTML.substr(0, num) + '...'
            }
        }
    }
</script>

</body>

</html>
